package com.tencent.sr.iris.activity.service.event.dto;

import com.tencent.sr.iris.activity.common.enums.DbEventType;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 *
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class SyncEventDTO<T> {

    /**
     * 事件类型 0-删除 1-更新 2-新增
     */
    private DbEventType eventType;

    private String msgKey;

    private T syncData;

}